//
//  DXWYuLeViewController.m
//  pandaTV
//
//  Created by 淡馨慰 on 16/8/19.
//  Copyright © 2016年 淡馨慰. All rights reserved.
//

#import "DXWYuLeViewController.h"
#import "DXWPandaStarShowController.h"
#import "DXWOutsideLiveController.h"
#import "DXWPetShowController.h"



@interface DXWYuLeViewController ()

@end

@implementation DXWYuLeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
//    self.view.backgroundColor = [UIColor orangeColor];
    self.title = @"娱乐";
    
    //1.添加子控制器
    [self setupChildController];
}
- (void)setupChildController
{
    //熊猫星秀
    DXWPandaStarShowController *vc1 = [[DXWPandaStarShowController alloc]init];
    vc1.title = @"熊猫星秀";
    [self addChildViewController:vc1];
    
    DXWOutsideLiveController *vc2 = [[DXWOutsideLiveController alloc]init];
    vc2.title = @"户外直播";
    [self addChildViewController:vc2];
    
    DXWPetShowController *vc3 = [[DXWPetShowController alloc]init];
    vc3.title = @"萌宠乐园";
    [self addChildViewController:vc3];
}




@end
